]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Make OSK animation quicker, snappier
authorRui Matos <tiagomatos@gmail.com>
Thu, 15 Nov 2012 15:35:20 +0000 (16:35 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sat, 29 Dec 2012 23:12:27 +0000 (00:12 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=688642

js/ui/layout.js

index 9e2dee966ad298bb71e173ce3fc702a5596c17b4..f55e2b36bc63f1c1e0c799febc39c476e8f906cd 100644 (file)
@@ -16,7 +16,7 @@ const Tweener = imports.ui.tweener;
 
 const HOT_CORNER_ACTIVATION_TIMEOUT = 0.5;
 const STARTUP_ANIMATION_TIME = 0.2;
-const KEYBOARD_ANIMATION_TIME = 0.5;
+const KEYBOARD_ANIMATION_TIME = 0.15;
 const PLYMOUTH_TRANSITION_TIME = 1;
 
 const MonitorConstraint = new Lang.Class({
@@ -437,7 +437,7 @@ const LayoutManager = new Lang.Class({
         Tweener.addTween(this.keyboardBox,
                          { anchor_y: 0,
                            time: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
-                           transition: 'easeOutQuad',
+                           transition: 'easeInQuad',
                            onComplete: this._hideKeyboardComplete,
                            onCompleteScope: this
                          });